package com.dog.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dog.framework.core.model.PageResult;
import com.dog.modules.system.domain.SysRole;
import com.dog.modules.system.api.query.SysRoleQuery;
import com.dog.modules.system.api.vo.SysRoleDataScopeVO;
import com.dog.modules.system.api.vo.SysRoleVO;

import java.util.List;

/**
* @author liuxk
* @description 针对表【sys_role(角色管理)】的数据库操作Service
* @createDate 2024-01-30 14:47:29
*/
public interface SysRoleService extends IService<SysRole> {

    PageResult<SysRoleVO> page(SysRoleQuery query);

    List<SysRoleVO> getList(SysRoleQuery query);

    void save(SysRoleVO vo);

    void update(SysRoleVO vo);

    void dataScope(SysRoleDataScopeVO vo);

    void delete(List<Long> idList);
}
